package com.cskaoyan.bean.wx.detail.vo;

import com.cskaoyan.bean.wx.home.WXBrand;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 创建日期: 2022/05/09 15:23
 *
 * @author JinLu Zhou
 */
@Data
public class GoodsBrandVo {
    Date addTime;
    Boolean deleted;
    String desc;
    BigDecimal floorPrice;
    Integer id;
    String name;
    String picUrl;
    Byte sortOrder;
    Date updateTime;


    public void set(WXBrand wxBrand) {
        setAddTime(wxBrand.getAddTime());
        setDeleted(wxBrand.getDeleted());
        setDesc(wxBrand.getDesc());
        setFloorPrice(wxBrand.getFloorPrice());
        setId(wxBrand.getId());
        setName(wxBrand.getName());
        setPicUrl(wxBrand.getPicUrl());
        setSortOrder(wxBrand.getSortOrder());
        setUpdateTime(wxBrand.getUpdateTime());
    }
}
